package Java_test2;

public class Tank {
    double horsepower;//马力
    int dantoushu;//携带弹头数
    public Tank(double h,int d){
        this.horsepower=h;
        this.dantoushu=d;
    }
    public void start(){
        System.out.println("启动");
    }
    public void papo(){
        System.out.println("爬坡");
    }
}
